package org.example.tree.domain;

import java.util.List;

public class One {
    private String one;
    private List<Two> twoList;

    public String getOne() {
        return one;
    }

    @Override
    public String toString() {
        return "One{" +
                "one='" + one + '\'' +
                ", twoList=" + twoList +
                '}';
    }

    public void setOne(String one) {
        this.one = one;
    }

    public List<Two> getTwoList() {
        return twoList;
    }

    public void setTwoList(List<Two> twoList) {
        this.twoList = twoList;
    }
}
